export const routes = [
    {
        path: '/',
        name: 'Login',
        component: () => import('../views/Login.vue'),
    },
    {
        path: '/nav',
        name: 'Nav',
        component: () => import('../views/Nav.vue'),

        children: [
            {
                path: 'home',
                alias: '',
                name: 'Home',
                component: () => import('../views/Home.vue'),
            },
            {
                path: 'video',
                name: 'Video',
                component: () => import('../views/Video.vue'),
            },
            {
                path: 'my',
                name: 'My',
                component: () => import('../views/My.vue'),
            },
            {
                path: 'follow',
                name: 'Follow',
                component: () => import('../views/Follow.vue'),
            }
        ]
    },
    {
        path: '/search',
        name: 'Search',
        component: () => import('../views/Search.vue'),
    },
    {
        path: '/songer/:id',
        name: 'Songer',
        component: () => import('../views/Songer.vue'),
    },
    {
        path: '/album/:id',
        name: 'Album',
        component: () => import('../views/Album.vue'),
    },
    {
        path: '/ranking/:id',
        name: 'Ranking',
        component: () => import('../views/Ranking.vue'),
    },
    {
        path: '/rankinglist',
        name: 'Rankinglist',
        component: () => import('../views/Rankinglist.vue'),
    },
    {
        path: '/songsheet/:id',
        name: 'Songsheet',
        component: () => import('../views/Songsheet.vue'),
    },
    {
        path: '/songsheetlist',
        name: 'Songsheetlist',
        component: () => import('../views/Songsheetlist.vue'),
    },
    {
        path: '/newsong',
        name: 'Newsong',
        component: () => import('../views/Newsong.vue'),
    },
    {
        path: '/register',
        name: 'Register',
        component: () => import('../views/Register.vue'),
    },
    {
        path: '/everyday',
        name: 'Everyday',
        component: () => import('../views/Everyday.vue'),
    },
    {
        path: '/like',
        name: 'Like',
        component: () => import('../views/Like.vue'),
    },
]